<div id="book-detail">
<p><label>Title: </label><span>{{ book.title }}</span></p>
<p><label>Author: </label><span>{{ book.author }}</span></p>
<p><label>Introduction: </label><span>{{ book.intro|truncatewords:100 }}</span></p>
<p><label>Press: </label><span>{{ book.get_press_display }}</span></p>
<p><label>ISBN: </label><span>{{ book.isbn }}</span></p>
<p><label>Pages: </label><span>{{ book.pages }}</span></p>
<p><label>Tags: </label><span>
<ul>
{% for tag in book.tags.all %}
  <li>{{ tag }}</li>
{% empty %}
  <li>NOTHING</li>
{% endfor %}
</ul>
</span></p>
</div>
{% if book_profile %}
<div id="book-profile">
<div id="books-read">
<h3>Books read by: </h3>
<ul>
{% for b1 in books_read %}
	<li>{{ b1.user_reading }}</li>
{% endfor %}
</ul>
</div>
<div id="books-reserved">
<h3>Books reserved by: </h3>
<ul>
{% for b2 in books_reserved %}
	<li>{{ b2.user_reserving }}</li>
{% empty %}
	<p><a href="/books/{{ book.id }}/?r=1">Reserve</a> to be the 1st reserver</p>
{% endfor %}
</ul>
</div>
<p><label>Available/Total/Reserving: </label><span>{{ book_profile.get_status }}</span></p>
</div>
{% endif %}
